import request from '../utils/request';


export function fetchDataI(jsonobject) {
	return request({
		url: '/curriculumList/selectAllbylimit',
		method: 'POST',
		data: jsonobject
	});
};
export function fetchDataChongxiu(jsonobject) {
	return request({
		url: '/chongxiu/selectAllbylimit',
		method: 'POST',
		data: jsonobject
	});
};

export function addChongxiu(jsonobject) {
	return request({
		url: '/chongxiu/insertcurriculum',
		method: 'post',
		data: jsonobject
	});
};

export function deleteChongxiu(jsonobject) {
	return request({
		url: '/chongxiu/delete',
		method: 'post',
		data: jsonobject
	});
}

export function fetchData(jsonobject) {
	return request({
		url: '/kclr/selectbylimit',
		method: 'POST',
		data: jsonobject
	});
};

export function add(jsonobject) {
	return request({
		url: '/kclr/insert',
		method: 'POST',
		data: jsonobject
	});
};
export function deleteLu(jsonobject) {
	return request({
		url: '/kclr/delete',
		method: 'POST',
		data: jsonobject
	});
};
export function classpostmethod(jsonobject) {
	return request({
		url: '/gradetable/selectbylimit',
		method: 'post',
		data: jsonobject
	});
};
export function basetable(jsonobject) {
	return request({
		url: '/classroom/selectall',
		method: 'POST',
		data: jsonobject
	});
};
export function excelimport(jsonobject) {
	return request({
		url: '/classroom/excelimport',
		method: 'POST',
		data: jsonobject
	});
};
//冲突检测
export function cd(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/cd',
		method: 'POST',
		data: jsonobject
	});
};
export function addclass(jsonobject) {
	return request({
		url: '/gradetable/insert',
		method: 'post',
		data: jsonobject
	});
};
export function deleteID(jsonobject) {
	return request({
		url: '/gradetable/delete',
		method: 'post',
		data: jsonobject
	});
};



export function addgouji(jsonobject) {
	return request({
		url: '/curriculumList/insertcurriculum',
		method: 'post',
		data: jsonobject
	});
};

export function deletegoujiID(jsonobject) {
	return request({
		url: '/curriculumList/delete',
		method: 'post',
		data: jsonobject
	});
};


export function addgouji2(jsonobject) {
	return request({
		url: '/classroom/classroominsert',
		method: 'post',
		data: jsonobject
	});
};
export function deletegoujiID2(jsonobject) {
	return request({
		url: '/classroom/delete',
		method: 'post',
		data: jsonobject
	});
};


export function teacherTableList(jsonobject) {
	return request({
		url: '/teacherTable/selectallbylimit',
		method: 'post',
		data: jsonobject
	});
};

export function addgouji3(jsonobject) {
	return request({
		url: '/teacherTable/insertteacher',
		method: 'post',
		data: jsonobject
	});
};
export function deletegoujiID3(jsonobject) {
	return request({
		url: '/teacherTable/delete',
		method: 'post',
		data: jsonobject
	});
};
export function autoFind(jsonobject) {
	return request({
		url: '/gradetable/autoFind',
		method: 'post',
		data: jsonobject
	});
};

export function kaoshitaskSetupList(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/selectallbylimit',
		method: 'POST',
		data: jsonobject
	});
};
export function xaunding(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/xaunding',
		method: 'post',
		data: jsonobject
	});
};
export function deletegoujiID4(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/delete',
		method: 'post',
		data: jsonobject
	});
};

export function saveCheckInfo(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/saveCheckInfo',
		method: 'post',
		data: jsonobject
	});
};

export function findExamInfo(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/findExamInfo',
		method: 'post',
		data: jsonobject
	});
};

export function getClassroom(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/getClassroom',
		method: 'post',
	});
};

export function getTheacherAndCourse(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/getTheacherAndCourse',
		method: 'post',
	});
};

export function getClassname(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/getClassname',
		method: 'post',
	});
};
findByClassroomAndTeacherAndClassnameAndCourse

export function findByClassroomAndTeacherAndClassnameAndCourse(jsonobject) {
	return request({
		url: '/kaoshitaskSetup/findByClassroomAndTeacherAndClassnameAndCourse',
		method: 'post',
		data: jsonobject
	});
};

